package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 选择题管理对象 multiple_choice_questions
 * 
 * @author ruoyi
 * @date 2022-08-19
 */
public class MultipleChoiceQuestions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 题目 */
    @Excel(name = "题目")
    private String topic;

    /** A选项 */
    @Excel(name = "A选项")
    private String chooseA;

    /** B选择 */
    @Excel(name = "B选择")
    private String chooseB;

    /** C选项 */
    @Excel(name = "C选项")
    private String chooseC;

    /** D选项 */
    @Excel(name = "D选项")
    private String chooseD;

    /** 答案 */
    @Excel(name = "答案")
    private String questionAnswers;

    /** 题目类型 */
    @Excel(name = "题目类型")
    private String topicType;

    /** 题目分区 */
    @Excel(name = "题目分区")
    private Long topicName;

    /** 分数 */
    @Excel(name = "分数")
    private Long topicFraction;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTopic(String topic) 
    {
        this.topic = topic;
    }

    public String getTopic() 
    {
        return topic;
    }
    public void setChooseA(String chooseA) 
    {
        this.chooseA = chooseA;
    }

    public String getChooseA() 
    {
        return chooseA;
    }
    public void setChooseB(String chooseB) 
    {
        this.chooseB = chooseB;
    }

    public String getChooseB() 
    {
        return chooseB;
    }
    public void setChooseC(String chooseC) 
    {
        this.chooseC = chooseC;
    }

    public String getChooseC() 
    {
        return chooseC;
    }
    public void setChooseD(String chooseD) 
    {
        this.chooseD = chooseD;
    }

    public String getChooseD() 
    {
        return chooseD;
    }
    public void setQuestionAnswers(String questionAnswers) 
    {
        this.questionAnswers = questionAnswers;
    }

    public String getQuestionAnswers() 
    {
        return questionAnswers;
    }
    public void setTopicType(String topicType) 
    {
        this.topicType = topicType;
    }

    public String getTopicType() 
    {
        return topicType;
    }
    public void setTopicName(Long topicName) 
    {
        this.topicName = topicName;
    }

    public Long getTopicName() 
    {
        return topicName;
    }
    public void setTopicFraction(Long topicFraction) 
    {
        this.topicFraction = topicFraction;
    }

    public Long getTopicFraction() 
    {
        return topicFraction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("topic", getTopic())
            .append("chooseA", getChooseA())
            .append("chooseB", getChooseB())
            .append("chooseC", getChooseC())
            .append("chooseD", getChooseD())
            .append("questionAnswers", getQuestionAnswers())
            .append("topicType", getTopicType())
            .append("topicName", getTopicName())
            .append("topicFraction", getTopicFraction())
            .toString();
    }
}
